<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String basePath = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>欢迎使用电子商务管理系统 版权所有@重庆旭鸣信息工程有限公司</title>
		<jsp:include page="../include/base.jsp"></jsp:include>
		<jsp:include page="../include/common.jsp"></jsp:include>
		<script src="ClientData.js" type="text/javascript"></script>
		<script src="LoginHandler.js" type="text/javascript"></script>
		<script src="MainHandler.js" type="text/javascript"></script>
		<script src="../resource/js/common/main.js" type="text/javascript"></script>
		<script src="../resource/js/common/menuProc.js" type="text/javascript"></script>
		<link href="../resource/css/main.css" type="text/css" rel="stylesheet" />
		
		<script type="text/javascript">
			$(document).ready(function() {
				mini.parse();
				ClientData.initalize();
				//初始化用户菜单
				ClientData.initUserFunNode(MainHandler.init);
			});
			
		</script>
	</head>
	
	<body>
		<div id="mainLayout" splitSize="6" class="mini-layout" style="width: 100%; height: 100%;">
		
			<!-- 顶部工具栏 -->
			<div region="north" class="layout-header" height="74" allowResize="false" showHeader="false" 
				bodyStyle="overflow:hidden">
				<h2 class="layout-header-h2">
					XTEAM-电子商务平台 Beta v-1.1
				</h2>
		        <div class="layout-header-a">
		           	<a href="javascript:LoginHandler.logout(true);"> 注销 </a>
		        </div>
				<div id="xmMainMenu" class="mini-menu" vertical="false" style="width:100%;" 
		             onitemclick="MainHandler.onMenuClick" textField="name" idField="id" parentField="pid" 
		             resultAsTree=false>
				</div>
			</div>
			
			<!-- 底部状态栏 -->
			<div title="south" region="south" height="26" allowResize="false" width="100%" showHeader="false" 
				style="border-top:0px;">
				<div class="layout-bottom-cr">
					Copyright © 旭鸣信息工程有限公司版权所有
				</div>
			</div>
						
			<!-- 左侧菜单栏 -->
			<div title="常用功能" id="xmLeftFrame" region="west" width="200" showHeader="true" 
				visible="false" iconCls="icon-btn-gotoTask" minWidth="100" maxWidth="350" style="">
				<ul id="xmLeftMenu" class="mini-tree" showTreeIcon="true" textField="name" idField="funId"
					onnodeselect="MainHandler.onLeftMenuClick">
				</ul>
			</div>
			
			<!-- 右侧管理面板 -->
			<div title="center" region="center" style="border:0;">
				<div id="menu-tabs-div" class="mini-tabs bg-toolbar" style="width: 100%; height: 100%;"
					activeIndex="0" bodyStyle="background:white;overflow: hidden;">
					<div title="首页-[<span style='color:blue;'>WELCOME</span>]" url="home/welcome.jsp"></div>
				</div>
			</div>
		</div>
	</body>
</html>
